package com.cams.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cams
 * @since 2022-05-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Leaves implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 序列号
     */
    @TableId(value = "lid", type = IdType.AUTO)
    private Integer lid;

    /**
     * 用户账号
     */
    private Integer uid;

    /**
     * 用户名
     */
    private String uname;

    /**
     * 请假开始时间
     */
    private LocalDate lsdate;

    /**
     * 请假结束时间
     */
    private LocalDate ledate;

    /**
     * 请假类型
     */
    private String ltype;

    /**
     * 请假理由
     */
    private String lreason;

    /**
     * 审批状态
     */
    private String lstate;


}
